<%@ Page Language="C#" AutoEventWireup="true" CodeFile="tag.aspx.cs" Inherits="Views_Grurrah_tag" MasterPageFile="~/Views/layouts/default_w_sidebar.master" %>
<%@ Register Assembly="Gaia.WebWidgets" Namespace="Gaia.WebWidgets" TagPrefix="gaia" %>
<%@ Import Namespace="Grr.Models" %>

<asp:Content ContentPlaceHolderID="TitleType" runat="server">Tag:</asp:Content>
<asp:Content ContentPlaceHolderID="TitleText" runat="server"><%= Tag %></asp:Content>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">
<gaia:Panel ID="ResultsPanel" Visible="true" runat="server">
    <div style="padding: 15px 0px 10px 0px;">
    <ol start="<%= CurrentResultsIndex + 1 %>">
        <% foreach (SearchMatch result in Result.Matches)
           {  %>
                   <li>
                        <a href="<%= ResolveUrl (result.Url) %>"><%= result.Title %></a>:
                        <%= result.Description %>
                    </li>
        <% } %>
    </ol>
    </div>
    </gaia:panel>
    <div class="results-paging-buttons">
        <gaia:linkbutton id="PrevButton" visible="false" text="[Prev]" runat="server" OnClick="PrevButton_Click"></gaia:linkbutton>
        <gaia:linkbutton id="NextButton" visible="false" text="[Next]" runat="server" OnClick="NextButton_Click"></gaia:linkbutton>
    </div>
</asp:Content>

